Description{Returns the X position of the gadget relative to its parent gadget/window or optionally, relative to the specified gadget.}CommandName{gadgetX}HelpPath{General}ReturnValue{int x=}OpenBrace{(}Parameters{handle gadget, [handle relativeToGadget]}CloseBrace{)}ReturnDescription{X co-ordinate of left edge of gadget relative to parent}Param1{gadget}Param1Desc{Handle to a gadget}Param3{}Param2{[relativeToGadget]}Param2Desc{Optional.  Handle of a gadget.  If specified the position of the gadget is returned relative to relativeToGadget.}